<?php 
if (count($this->messages)) : ?>

<?php foreach ($this->messages as $message) : ?>
<?php echo $this->escape($message); ?>
<?php endforeach; ?>

<?php endif; ?>
<?php echo $this->form ;?>